<?php

namespace App\Admin\Renderable;


use App\Admin\Repositories\Product;
use Dcat\Admin\Grid\LazyRenderable;
use Dcat\Admin\Grid;
class BomListTable extends LazyRenderable
{
    public function grid(): Grid
    {
        \Log::info($this->payload['id']);

        return Grid::make(new Product(['name_id'=>775566]), function (Grid $grid) {

            $grid->column('sap_number','更新人姓名');

            $grid->disableActions();
            $grid->disableRowSelector();
            $grid->disablePagination();


        });
        // TODO: Implement grid() method.
    }
}